const getters = {
  // sidebar: function (state) {
  //   return state.app.sidebar
  // }
  sidebar: state => state.app.sidebar,
  device: state => state.app.device
  // 因为我们已经删掉了一部分所以就获取不到数据了
  // token: state => state.user.token,
  // avatar: state => state.user.avatar,
  // name: state => state.user.name
}
export default getters
